<link type="text/css" rel="stylesheet" href="<?php echo $this->assetDir ?>js/kdt/custom.js" />

<div class="span6">
    <div class="control-group">
        <?php echo $form->labelEx($model, 'firstname', array('class' => 'control-label')) ?>
        <div class ="controls">
            <?php
            echo $form->textField($model, 'firstname', array(
                'placeholder' => $model->getAttributeLabel('firstname'),
                'class'       => 'input-file uniform_on input-reset'))
            ?>
            <font color="red"> <?php echo $form->error($model, 'firstname'); ?> </font>
        </div>
    </div>
    <div class="control-group">
        <?php echo $form->labelEx($model, 'lastname', array('class' => 'control-label')) ?>
        <div class ="controls">
            <?php
            echo $form->textField($model, 'lastname', array(
                'class'        => 'input-file uniform_on input-reset',
                'placeholder'  => $model->getAttributeLabel('lastname'),
                'autocomplete' => 'off'
            ))
            ?>
            <font color="red"> <?php echo $form->error($model, 'lastname'); ?> </font>
        </div>
    </div>

    <div class="control-group">
        <?php echo $form->labelEx($model, 'birthday', array('class' => 'control-label')) ?>
        <div class ="controls">
            <?php
            $birthdayOpts = array(
                'class'       => 'datepicker',
                'placeholder' => $model->getAttributeLabel('birthday'),
                'readonly'    => true,
            );
            if ($model->birthday)
            {
                $birthdayOpts['value'] = @date('d-m-Y', $model->birthday);
            }

            echo $form->textField($model, 'birthday', $birthdayOpts)
            ?>
            <font color="red"> <?php echo $form->error($model, 'birthday'); ?> </font>
        </div>
    </div>

    <div class="control-group">
        <?php echo $form->labelEx($model, 'address', array('class' => 'control-label')) ?>
        <div class ="controls">
            <?php
            echo $form->textField($model, 'address', array(
                'class'       => 'input-file uniform_on input-reset',
                'placeholder' => $model->getAttributeLabel('address')))
            ?>
            <font color="red"> <?php echo $form->error($model, 'address'); ?> </font>
        </div>
    </div>
  
    <div class="control-group">
        <?php echo $form->labelEx($model, 'phone', array('class' => 'control-label')) ?>
        <div class ="controls">
            <?php
            echo $form->textField($model, 'phone', array(
                'class'       => 'input-file uniform_on input-reset',
                'placeholder' => $model->getAttributeLabel('phone')))
            ?>
            <font color="red"> <?php echo $form->error($model, 'phone'); ?> </font>
        </div>
    </div>
</div>